Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Active System Manager Release 8.2 API Reference Guide

PDF

Set the current timezone

Here we utilize the simple XML utility class called ASM::Payload to do simple manipulations of our XML.
require 'ASMConfig'
                                 
                                 payload = ASM::Payload.load_xml('timezone.xml')
                                 
                                 payload.set('timeZoneId','15')
                                 
                                 # Set Timezone
                                 response = ASM::API::sign {  
                                 url = ASM::API::URI("/Timezone")
                                 RestClient.put url, payload.to_xml, :content_type => :xml
                                 }
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\